﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="CareerPathProject.Models" %>
<!DOCTYPE html>

<html>
<head runat="server">
    <meta name="viewport" content="width=device-width" />
    <title>detail</title>
</head>
<body>
    <% Candidate canDetail = (Candidate)ViewData["canDetail"]; %>
    <% using(Html.BeginForm("detail","candidate",FormMethod.Post)) { %>
    <table>
        <tr><%= Html.TextBox("name", canDetail.CandidateName) %></tr>
        <tr><%= Html.TextBox("email", canDetail.Email) %></tr>
        <tr><%= Html.TextBox("date create", canDetail.DateCreated) %></tr>
        <tr><%= Html.TextBox("date fixed", canDetail.DateFixed) %></tr>
    </table>
    <%} %>
</body>
</html>
